package cn.stylefeng.guns.modular.shangxin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 上新
 * </p>
 *
 * @author Dong
 * @since 2023-10-17
 */
@TableName("p_shangxin")
public class Shangxin implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图片
     */
    @TableField("pic")
    private String pic;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 描述
     */
    @TableField("ms")
    private String ms;

    /**
     * 跳转 1红色路线 2 url
     */
    @TableField("tz")
    private Integer tz;

    /**
     * 跳转路径
     */
    @TableField("path")
    private String path;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public Integer getTz() {
        return tz;
    }

    public void setTz(Integer tz) {
        this.tz = tz;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "Shangxin{" +
        "id=" + id +
        ", pic=" + pic +
        ", title=" + title +
        ", ms=" + ms +
        ", tz=" + tz +
        ", path=" + path +
        "}";
    }
}
